<template>
  <div class="loading">
    <div class="l2" v-if="type == 2">
      <img width="100%" height="100%" src="" alt="">
    </div>
  </div>
</template>

<script>
    export default {
      props: {
        type: {
          type: Number,
          default: 1
        }
      }
    }
</script>

<style scoped lang="scss">
  .loading{
    width: 100%;
    height: 100%;
    img{
      margin-top: 100px;
      margin-left: 12%;
    }
  }
</style>
